package com.djq.project.mq.producer;

import org.springframework.amqp.rabbit.annotation.Queue;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class RabbitMqProducerApplication {
    public static void main(String[] args) {
        SpringApplication.run(RabbitMqProducerApplication.class,args);
    }
//    @Bean
//    public Queue createQueue(){
//        return new Queue("common");
//    }
}
